home *** CD-ROM | disk | FTP | other *** search
- on NewAdBanner titleObj
- set sNum to GetGlobal(#adBanner)
- set dest to the name of member the memberNum of sprite sNum
- set button to BasicButton(titleObj, [#hotSprites: [sNum], #statusMessage: "More about" && dest, #destination: dest])
- set scrollParams to [#spritenum: sNum, #scrollRate: 5, #timeLimit: 15, #button: button]
- set the adBanner of titleObj to NewObject(titleObj, "Scroll Banner Class", scrollParams)
- append(the eventList of titleObj, the adBanner of titleObj)
- end
-